﻿using System.Web.Mvc;
using Umbraco.Cms.Web.Context;
using Umbraco.Cms.Web.Editors;
using Umbraco.Cms.Web.Model.BackOffice.Editors;

namespace Dashboard.HelloWorld.Controllers
{

    [Editor("960d4aaf-8fae-44da-a3ff-5a2430ee6e4a", HasChildActionDashboards = true)]
    public class DashboardController : BaseEditorController
    {
        public DashboardController(IBackOfficeRequestContext requestContext)
            : base(requestContext)
        {
        }

        [ChildActionOnly]
        public ActionResult Index()
        {
            return View("HelloWorld");
        }
    }
}
